package ooday02.person;

public class Student extends Person {
    String className;
    String stuId;
    //String name;
    String address;
    //int age;


    Student(String name,int age,String address,String className,String stuId){
        super(name,age,address);
        this.stuId=stuId;
        this.className=className;
    }
    void study(){
        System.out.println("地址:"+address+"名字:"+name+"年龄:"+age+"正在学习，这是我的学号："+stuId);
    }

//    @Override
//    void sayHi() {
//
//        System.out.println("学生类的sayHi");
//    }
}
